﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QD.Data.Page
{
    public class PageList<T> where T : new()
    {
        public IList<T> Records { get; private set; }
        public int Total { get; private set; }
        public PageList(IList<T> list, int total)
        {
            Records = list;
            Total = total;
        }
        [Newtonsoft.Json.JsonIgnore]
        public static PageList<T> Empty = new PageList<T>(new List<T>(), 0);
    }
}

